namespace ghost {
	/**玩家类角色业务，主角继承此类*/
	export class Player extends GameRole{
		public constructor(sceneMgr:SceneManager) {
			super(sceneMgr);
		}		
		protected getSceneScale():number
		{
			return this._scene.playerScl;
		}
		public inArea(): void {
			let s = this;
			s._scene.sceneLogic.inPos(s);
			s._scene.sceneLogic.inArea(s);			
		}
		public outArea(): void {
			let s= this;
			s._scene.sceneLogic.outPos(s);
			s._scene.sceneLogic.outArea(s,s.col,s.row);						
		}
	}
}